package com.xin.di.uav.applet.rest;

import com.xin.di.uav.applet.service.IFeedbackTypeService;
import com.xin.di.uav.common.response.IdResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 反馈类型 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2023-06-08
 */
@RestController
@RequestMapping("/sys/feedback-type/")
public class FeedbackTypeRest {

    @Autowired
    private IFeedbackTypeService iFeedbackTypeService;

    @GetMapping("get-all")
    public List<IdResponse> getAll() {
        return iFeedbackTypeService.getAll();
    }
}
